// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import DrawerLayout from 'vue-drawer-layout'
Vue.use(DrawerLayout);

import axios from "axios";
Vue.prototype.axios= axios
axios.defaults.baseURL='http://192.168.0.210:8081/'

//关闭生产者模式
Vue.config.productionTip = false;

/* eslint-disable no-new */
/*new Vue({
  el: '#app',
  router:router,
  components: { App },
  template: '<App/>'
});*/
new Vue({
  router,
  render: h => h(App)
}).$mount("#app")
